package com.itheima.advantagesup.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author iTaotao
 * @date 2023/7/26 15:21
 * @desciption: 用户取消点赞收藏
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDataHandleDTO implements Serializable {
    @ApiModelProperty("1. 收藏操作 2.点赞操作")
    private String type;

    @ApiModelProperty("文章id")
    private String articleId;

    @ApiModelProperty("操作类型 add:点赞 收藏 del:取消")
    private String action;
}
